feat: O11Y-920 - Add masking support for WebViews#352
Merged
agrognetti merged 7 commits intomainfrom Jan 23, 2026
Merged
Conversation
- Add maskWebViews support in PrivacyProfile; cover native Android WebView and third-party WebView variants - Update MaskCollector traversal to reach AndroidView WebViews - Add XML/Compose test activities and custom views - Update README/tests
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Merged
Vadman97
pushed a commit
that referenced
this pull request
Jan 26, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-observability-android: 0.24.0</summary> ## [0.24.0](launchdarkly-observability-android-0.23.1...launchdarkly-observability-android-0.24.0) (2026-01-23) ### Features * O11Y-920 - Add masking support for WebViews ([#352](#352)) ([b1b46d3](b1b46d3)) </details> <details><summary>observability: 0.5.2</summary> ## [0.5.2](observability-0.5.1...observability-0.5.2) (2026-01-23) ### Dependencies * The following workspace dependencies were updated * dependencies * highlight.run bumped to 9.26.0 </details> <details><summary>session-replay: 0.5.2</summary> ## [0.5.2](session-replay-0.5.1...session-replay-0.5.2) (2026-01-23) ### Dependencies * The following workspace dependencies were updated * dependencies * highlight.run bumped to 9.26.0 </details> <details><summary>highlight.run: 9.26.0</summary> ## [9.26.0](highlight.run-9.25.1...highlight.run-9.26.0) (2026-01-23) ### Features * add SR support for maskAllInputs and maskInputOptions ([#354](#354)) ([dad61ef](dad61ef)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Release summary** > > - Adds WebView masking support in `observability-android` (v0.24.0) > - Bumps `highlight.run` to 9.26.0 and updates dependents: `@launchdarkly/observability` (v0.5.2) and `@launchdarkly/session-replay` (v0.5.2) > - Updates `.release-please-manifest.json`, package versions, and changelogs > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 55c4b41. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
How did you test this change?
Screen.Recording.2026-01-22.at.12.48.11.mov
Note
Introduces configurable masking for WebViews and ensures masking reaches AndroidView-hosted content.
maskWebViewstoPrivacyProfilewith class-hierarchy matcher coveringandroid.webkit.WebView,org.mozilla.geckoview.GeckoView, and other common variants; updatesMaskViewRefkClass namingMaskCollectorto traverseAndroidComposeViewchildren so ComposeAndroidView-embedded WebViews are evaluatedmaskWebViewsusage and notes; adds unit tests for defaults and matcher behaviormaskWebViews, adds XML/Compose WebView demo activities and custom views, refactors masking UI rows; includes GeckoView dependency/repoWritten by Cursor Bugbot for commit 0d9089c. This will update automatically on new commits. Configure here.